import {getdropDownChoice} from '@/api/technical/monitoringContent'
export const measurementMixin = {
    data(){
       return{
        monitoringContentData:[]
       }
    },
    methods: {
        //获取监测内容数据
        async getPageTechnicalMonitoringContentListFn() {
            let req = await getdropDownChoice({});
            if (req.code == '0') {
              req.data.map((item) => {
                 if(item.children&&item.children.length) {
                   item.selectable = false
                 }
              })
                this.monitoringContentData = req.data;

            }
        },

    },

}